/**    
 * 文件名：DdingSyncBean.java</br>
 *    
 * 版本信息：v1.0</br>
 * 日期：2017年6月29日</br>
 * © 2005-2017 雷技信息科技（上海）有限公司版权所有</br>
 *
 */
package com.logic.landseaserver.service.bean;

import java.util.List;

import com.logic.landseaserver.domain.DdingAddRoom;
import com.logic.landseaserver.domain.DdingProjectSync;
import com.logic.landseaserver.ws.dto.ProjectDetailForFrontDTO;

/**
 *
 * 项目名称：system-server</br>
 * 类名称：DdingSyncBean</br>
 * 类描述：云丁同步对象承载类</br>
 * 创建人：Aaron</br>
 * 创建时间：2017年6月29日 上午10:33:35</br>
 * @version 1.0
 *
 */
public class DdingSyncBean
{
    /** 是否需要同步项目 **/
    private boolean isNeedSyncProject;
    
    /** 是否需要同步项目中的房间 **/
    private boolean isNeedSyncRoom;
    
    /** 本地库是否存在项目的同步记录,不存在要insert **/
    private boolean isDdingProjectSyncExists;
    
    /** 不存在同步记录的房间id列表 **/
    private List<Integer> noneSyncRoomRecordList;
    
    /** 项目基本信息 **/
    private ProjectDetailForFrontDTO project;
    
    /** 项目同步信息 **/
    private DdingProjectSync projectSync;
    
    /** 接口认证key **/
    private String clientId;
    
    /** 接口认证密钥 **/
    private String clientSecret;
    
    /** 接口认证密钥 **/
    private List<DdingAddRoom> needSyncRoomList;
    
    /** 密码的有效期开始时间秒级时间戳 **/
    private int permissionBegin;
    
    /** 密码的有效期结束时间秒级时间戳 **/
    private int permissionEnd;
    
    public boolean isNeedSyncProject()
    {
        return isNeedSyncProject;
    }

    public void setNeedSyncProject(boolean isNeedSyncProject)
    {
        this.isNeedSyncProject = isNeedSyncProject;
    }

    public boolean isNeedSyncRoom()
    {
        return isNeedSyncRoom;
    }

    public void setNeedSyncRoom(boolean isNeedSyncRoom)
    {
        this.isNeedSyncRoom = isNeedSyncRoom;
    }
    public ProjectDetailForFrontDTO getProject()
    {
        return project;
    }

    public void setProject(ProjectDetailForFrontDTO project)
    {
        this.project = project;
    }

    public DdingProjectSync getProjectSync()
    {
        return projectSync;
    }

    public void setProjectSync(DdingProjectSync projectSync)
    {
        this.projectSync = projectSync;
    }

    public String getClientId()
    {
        return clientId;
    }

    public void setClientId(String clientId)
    {
        this.clientId = clientId;
    }

    public String getClientSecret()
    {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret)
    {
        this.clientSecret = clientSecret;
    }

    public List<DdingAddRoom> getNeedSyncRoomList()
    {
        return needSyncRoomList;
    }

    public void setNeedSyncRoomList(List<DdingAddRoom> needSyncRoomList)
    {
        this.needSyncRoomList = needSyncRoomList;
    }

    public boolean isDdingProjectSyncExists()
    {
        return isDdingProjectSyncExists;
    }

    public void setDdingProjectSyncExists(boolean isDdingProjectSyncExists)
    {
        this.isDdingProjectSyncExists = isDdingProjectSyncExists;
    }

    public List<Integer> getNoneSyncRoomRecordList()
    {
        return noneSyncRoomRecordList;
    }

    public void setNoneSyncRoomRecordList(List<Integer> noneSyncRoomRecordList)
    {
        this.noneSyncRoomRecordList = noneSyncRoomRecordList;
    }

    public int getPermissionBegin()
    {
        return permissionBegin;
    }

    public void setPermissionBegin(int permissionBegin)
    {
        this.permissionBegin = permissionBegin;
    }

    public int getPermissionEnd()
    {
        return permissionEnd;
    }

    public void setPermissionEnd(int permissionEnd)
    {
        this.permissionEnd = permissionEnd;
    }
}
